package com.example.multiple.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author yanggld
 * @Date 2019/6/19-18:15
 * @Description
 * 默认的数据库连接
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.datasource")
public class DefaultDataSourceProperties {

	private String driverClassName;
	private String url;
	private String username;
	private String password;
}
